<%@ page language="java" contentType="text/html; charset=UTF-8"   pageEncoding="UTF-8"%>
<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
    <div class="col-sub">
    	<s:if test="hasQueue">
    	<div class="box common comom2" style="position:relative;overflow:hidden;zoom:1">
        	<div class="hd"><b class="bla lar">最近浏览</b></div>
            <div class="bd" style="padding-left:20px;">	
            	<c:forEach items="${sessionScope.recent}" var="stone" end="2">
            	 <ul>
                	<li>
                    	<a href="stone/toStoneCompany.action?stoneId=${stone.id}" class="image">
                        	<img src="upload/stone/120/${stone.defaultPhoto}"  height="120" width="120"/>
                        </a>
                        <a href="stone/toStoneCompany.action?stoneId=${stone.id}"  class="gray">
                        	${stone.chineseName}
                        </a>
                    </li>  
              	</ul>
            	</c:forEach>
            </div>
            <div class="clear"></div>
            </div>
            </s:if>
        
        <div class="box common comom2" style="position:relative;overflow:hidden;zoom:1">
        	<div class="hd"><b class="bla lar">最受欢迎</b></div>
            <div class="bd" style="padding-left:20px;">	
                <ul>
                	<c:forEach items="${sessionScope.popular}" var="stone" end="2">
                	<li>
                    	<a href="stone/toStoneCompany.action?stoneId=${stone.id}" class="image" style="height:120px;">
                        	<img src="upload/stone/120/${stone.defaultPhoto}"  height="120" width="120"/>
                        </a>
                        <a href="stone/toStoneCompany.action?stoneId=${stone.id}"  class="gray">
                        	${stone.chineseName}
                        </a>
                    </li>
                    </c:forEach> 
              </ul>
            </div>
            <div class="clear"></div>
        </div>
    </div>